Skip to main content

Nutanix Setup

The Nutanix realm uses a Nutanix Cluster to execute the VMs and to host the VM Drives and Images.

The parameters required by the Nutanix driver depend on an already set-up environment in Nutanix PRISM. In particular, you need to:

  1. Create a network and obtain the network ID.

  2. Create a storage container for drives and obtain the ID.

ParameterTypeRequiredDescription
disabledBooleanIs the realm disabled?
drivernutanixThis is a Nutanix realm
nameStringDisplayable name of realm
network-idStringThe network ID in Nutanix
drives.storage-container-idStringThe storage ID
hostnameStringThe hostname of Nutanix cluster
portPortThe port of PRISM API, default 9440
usernameStringDefaults to ticrypt
passwordStringThe password of the Nutanix account
task-poll-freqDurationHow often to get task updates
registration-timeoutDurationVM startup timeout
drives.min-sizeSizeMinimum drive size
drives.max-sizeSizeMaximum drive size

registration-timeout is somewhat critical. Too short and the VMs do not have enough time to register and get killed.

To debug VMs that do not correctly register, increase registration-timeout and attach a console.

You almost always want to increase drives.max-size. The default value is 32 GiB.

VM Images can only be imported via the Nutanix PRISM interface.

VM Naming Configuration

In addition, Nutanix VMs are automatically prepended with a tag to specify that they are part of tiCrypt. By default, they are named "tc-<name>", but the automatic naming can be changed via the nutanix realm’s config.

In the nutanix realm config:

    vm-name: "tc-<name>"
vm-desc: "tiCrypt managed VM | Owner: <owner> (<ownerID>) | Brick: <brick> (<brickID>)"

The tags in brackets will be filled by that vm’s information, and the following tags can be used:

TagDescriptionExample
<name>:VM nameNutanix VM 1
<team>:Team nameTera Insights
<owner>:VM owner’s full nameTiCrypt User
<ownerID>:VM owner’s ID289f4326-a3a8-49e5-8327-2bdba30d3aba
<project>:Project nameTiCrypt Testing
<brick>:Brick nameNutanix-CentOS
<brickID>:Brick IDbdd65456-0f1e-4d29-aa65-fdcc71926431

Drive Naming Configuration

The same mechanism is available for drives on Nutanix.

In the nutanix realm config:

    drive-name: "tc-<name>"
drive-desc: "tiCrypt managed drive | Owner: <owner> (<ownerID>) | Format: <format>"

The tags in brackets will be filled with that drive’s information, and the following tags can be used:

TagDescriptionExample
<name>:VM nameNutanix VM 1
<team>:Team nameTera Insights
<owner>:VM owner’s full nameTiCrypt User
<ownerID>:VM owner’s ID289f4326-a3a8-49e5-8327-2bdba30d3aba
<project>:Project nameTiCrypt Testing
<format>:Drive formatext4